/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package server.votesending;

import java.math.BigInteger;

/**
 *
 * @author Maciek
 */
public class ReceivedVote {
    public long timestamp;
    public int candidateNumber;
    public BigInteger voteCard;

    public ReceivedVote(long timestamp, int candidateNumber, BigInteger voteCard) {
        this.timestamp = timestamp;
        this.candidateNumber = candidateNumber;
        this.voteCard = voteCard;
    }

    public int getCandidateNumber() {
        return candidateNumber;
    }

    public void setCandidateNumber(int candidateNumber) {
        this.candidateNumber = candidateNumber;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public BigInteger getVoteCard() {
        return voteCard;
    }

    public void setVoteCard(BigInteger voteCard) {
        this.voteCard = voteCard;
    }
    
    
}
